package cn.mumzone.pos.ui.activity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * Created by JoeLjt on 2019/11/18.
 * Email: lijiateng1219@gmail.com
 * Description:
 */

public class ExpandableListDataPump {
    public static HashMap<String, List<String>> getData() {
        HashMap<String, List<String>> expandableListDetail = new HashMap<String, List<String>>();

        List<String> cricket = new ArrayList<String>();
        cricket.add("India");
        cricket.add("England");
        cricket.add("India");
        cricket.add("England");
        cricket.add("South Africa");

        List<String> basketball = new ArrayList<String>();
        basketball.add("Russia");

        List<String> football = new ArrayList<String>();
        football.add("England");
        football.add("Africa");
        football.add("Germany");

        List<String> haha = new ArrayList<String>();
        haha.add("United States");
        haha.add("France");
        haha.add("Russia");

        List<String> hehe = new ArrayList<String>();
        hehe.add("India");
        hehe.add("South Africa");

        expandableListDetail.put("CRICKET TEAMS", cricket);
        expandableListDetail.put("FOOTBALL TEAMS", football);
        expandableListDetail.put("BASKETBALL TEAMS", basketball);
        expandableListDetail.put("HAHA", haha);
        expandableListDetail.put("HEHE", hehe);
        return expandableListDetail;
    }

    public static HashMap<String, List<String>> getRealData() {
        HashMap<String, List<String>> expandableListDetail = new HashMap<String, List<String>>();

        List<String> login = new ArrayList<String>();
        login.add("修改密码");
        login.add("重置密码");
        login.add("开启debug模式");

        List<String> kaidan = new ArrayList<String>();
        kaidan.add("商品售卖");
        kaidan.add("服务预约");
        kaidan.add("小儿游泳");

        List<String> settle = new ArrayList<String>();
        settle.add("绑定会员");
        settle.add("解绑会员");
        settle.add("各种方式结账");
        settle.add("积分换购");
        settle.add("选择导购");

        List<String> stock = new ArrayList<String>();
        stock.add("盘点");
        stock.add("出库");
        stock.add("入库");
        stock.add("单据打印");
        stock.add("报表");

        List<String> huiy = new ArrayList<String>();
        huiy.add("会员登录");
        huiy.add("会员积分");


        List<String> huiy1 = new ArrayList<String>();
        huiy1.add("会员登录dad");
        huiy1.add("会员积分ada");

        List<String> huiy2 = new ArrayList<String>();
        huiy2.add("12131231");
        huiy2.add("213123");

        expandableListDetail.put("登录", login);
        expandableListDetail.put("开单", kaidan);
        expandableListDetail.put("结账", settle);
        expandableListDetail.put("库存", stock);
        expandableListDetail.put("会员", huiy);
        expandableListDetail.put("测试", huiy1);
        expandableListDetail.put("哈哈", huiy2);
        return expandableListDetail;
    }

}
